#ifndef THREADS_H_INCLUDED
#define THREADS_H_INCLUDED

#include <ucontext.h>

void uthread_init();
int uthread_create(void (*func)(int), int val, int pri);
void uthread_yield();
void uthread_exit();

#endif //THREADS_H_INCLUDED
